Skip to content

fix(desktop): switch to existing community on buzz://connect deep links#2580

Open
dophsquare wants to merge 1 commit into
block:mainfrom
dophsquare:dophsquare/fix-connect-deep-link
Open

fix(desktop): switch to existing community on buzz://connect deep links#2580
dophsquare wants to merge 1 commit into
block:mainfrom
dophsquare:dophsquare/fix-connect-deep-link

Conversation

@dophsquare

@dophsquare dophsquare commented Jul 23, 2026

Copy link
Copy Markdown

Summary

  • Handle buzz://connect?relay=… by switching to an already-configured community instead of restarting onboarding
  • Match relay URLs canonically (case, trailing slash, and loopback host spellings like localhost vs 127.0.0.1)
  • Clear stale connect onboarding transactions so profile setup is not shown again for existing communities

Test plan

  • pnpm test -- src/features/communities/communityStorage.test.mjs
  • pnpm test -- src/features/onboarding/communityOnboarding.test.mjs
  • ./desktop/src-tauri/target/debug/buzz-desktop 'buzz://connect?relay=ws%3A%2F%2Flocalhost%3A3000' switches to the configured local community without profile onboarding
  • pnpm exec playwright test tests/e2e/deep-link-invite.spec.ts -g "connect deep link switches"

Made with Cursor

@dophsquare
dophsquare requested a review from a team as a code owner July 23, 2026 18:11
Canonical relay URL matching and an early switch path keep connect links
from restarting onboarding when the target community is already configured.

Co-authored-by: Cursor <cursoragent@cursor.com>
@dophsquare
dophsquare force-pushed the dophsquare/fix-connect-deep-link branch from cc0b155 to e40cc49 Compare July 23, 2026 22:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant